package com.minimalist.common.entity.lindi.vo.purchaseapplicationtownitem;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.minimalist.common.config.mybatis.bo.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 林地指标交易平台_购买申请乡镇指标 查询VO类。
 *
 * @author 11987
 * @since 2025-07-01
 */
@Schema(description = "林地指标交易平台_购买申请乡镇指标查询条件")
public class LindiPurchaseApplicationTownItemQueryVO extends PageReq implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(description = "购买申请ID")
    private Long purchaseApplicationId;

    @Schema(description = "乡镇编号")
    private String townCode;

    @Schema(description = "乡镇指标")
    private BigDecimal townIndex;

    // Getter和Setter方法
    public Long getPurchaseApplicationId() {
        return purchaseApplicationId;
    }

    public void setPurchaseApplicationId(Long purchaseApplicationId) {
        this.purchaseApplicationId = purchaseApplicationId;
    }

    public String getTownCode() {
        return townCode;
    }

    public void setTownCode(String townCode) {
        this.townCode = townCode;
    }

    public BigDecimal getTownIndex() {
        return townIndex;
    }

    public void setTownIndex(BigDecimal townIndex) {
        this.townIndex = townIndex;
    }
}